package com.aspose.cells;

class zbnp extends zbz {
   zbnp() {
      this.c(2197);
   }

   void a(DataSorter var1, CellArea var2) {
      this.b(38);
      this.c = new byte[this.d()];
      this.c[0] = -107;
      this.c[1] = 8;
      if (var1.getSortLeftToRight()) {
         this.c[12] = (byte)(this.c[12] | 1);
      }

      if (var1.getCaseSensitive()) {
         this.c[12] = (byte)(this.c[12] | 2);
      }

      if (var1.b != null && !"".equals(var1.b)) {
         this.c[12] = (byte)(this.c[12] | 4);
      }

      byte var3 = 0;
      if (var1.c() instanceof AutoFilter) {
         var3 = 2;
      }

      this.c[12] |= (byte)((var3 & 255) << 3);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.StartRow), 0, this.c, 14, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.EndRow), 0, this.c, 18, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.StartColumn), 0, this.c, 22, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var2.EndColumn), 0, this.c, 26, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.a().size()), 0, this.c, 30, 4);
   }
}
